package com.jdzy.model.student.vos;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
public class PlanExcelVo {
    @ExcelProperty(value = "id" ,index = 0)
    private Long Id;
    @ExcelProperty(value = "学号stuId" ,index = 1)
    private String stuId;
    @ExcelProperty(value = "计划类型：0表示短期，1表示中期，2表示长期" ,index = 2)
    private Byte planType;
    @ExcelProperty(value = "计划名称" ,index = 3)
    private String planName;
    @ExcelProperty(value = "计划内容" ,index = 4)
    private String content;
    @ExcelProperty(value = "计划开始时间" ,index = 5)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss ")
    private Date startTime;
    @ExcelProperty(value = "计划结束时间" ,index = 6)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss ")
    private Date endTime;
}
